﻿using System;
using System.Windows.Forms;
using WindowsTools.SqlOption;
using WindowsTools.SqlOption.BOOption;

namespace WindowsTools
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }

        private void FormMain_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            FormSqlSrc formSqlSrc = new FormSqlSrc();
            formSqlSrc.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {

          
            //List<object> olist = new List<object>();
            //olist.Add(new { Name = "Hauk", Age = 22 });
            //olist.Add(new { Name = "Emily", Age = 22 });


            ////使用动态类型  
            //foreach (dynamic item in olist)
            //{
            //    Console.WriteLine(item.Name);
            //}
        }



        private object Get()
        {
            return new { Name = "Hauk", Age = 22 };
        }

        private void BoCreateShow_Click(object sender, EventArgs e)
        {
            FromBODef def = new FromBODef();
            def.Show();


        }
    }
}
